package com.company.huisuo.biz.adapter

import android.view.LayoutInflater
import android.view.ViewGroup
import com.company.huisuo.base.BaseSingleAdapter
import com.company.huisuo.databinding.ItemArtistListDanceBinding

/**
 * 我的K房-艺人列表热舞
 */
class KRoomArtistListDanceAdapter : BaseSingleAdapter<String, ItemArtistListDanceBinding>() {

    override val initViewBinding: (LayoutInflater, ViewGroup, Boolean) -> ItemArtistListDanceBinding
        get() = ItemArtistListDanceBinding::inflate

    override fun convert(
        holder: SingleViewHolder<ItemArtistListDanceBinding>, position: Int, item: String?
    ) {
        holder.binding.tvName.text = item ?: ""
    }
}